namespace dbm2.Model.Types
{
    public class DBMType
    {
        public string CharacterSetName { get; set; }
        public string CollationName { get; set; }
        
        public int Scale{ get; set;}
        public int Lenght { get; set;}
        public int Precision { get; set; }

        public string Name { get; private set; }

        public DBMType(string name)
        {
            Name = name;
            CharacterSetName = null;
            CollationName = null;
            Scale = int.MinValue;
            Lenght = int.MinValue;
            Precision = int.MinValue;
        }
    }
}